/**
 * Created by Administrator on 2017/6/19.
 */
var mongoose = require('../db/db');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
  name: {
    type: String,
    unique: true
  },
  password: String,
  role: Number,
  time: Date
});

module.exports = UserSchema;